package com.hhkj.admin.conf.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ruoyi.common.core.domain.BizBaseEntity;
import java.io.Serializable;
import java.util.Date;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 系统配置表
 * @TableName s_conf
 */
@TableName(value ="s_conf")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Conf<Res> extends BizBaseEntity {
    /**
     * 规则："withDrawalLimit"-提现规则 "receivingAccount"-打款账户 "commissionRate"-分佣规则
     */
    @TableField(value = "code")
    private String code;

    /**
     * 具体规则的json格式
     */
    @TableField(value = "conf")
    private String conf;

    /**
     * 有效标签：0-无效 1-有效
     */
    @TableField(value = "effective_code")
    private String effectiveCode;

    /**
     * 规则详情
     */
    @TableField(exist = false)
    private Res res;
}